<html>
<head>
<title> Sea Wasp </title>
<script type = "text/javascript">

var num = prompt("Enter a number : ");
for (var x = 0; x< num; x++){
	function factorial (num){
	var y=num-1
	y*num=num
	return x;}
	}

document.write(x);


</script>
</head>
<body bgcolor = "red"> </body>
</html>
